package com.yien.springstudy.poor_code;

import java.util.Scanner;

/**
 * AI核心代码
 *
 * @author Miaoxiong Fan
 * @since version
 */

public class AiMain {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String str;
        while (true) {
            str = scanner.next();
            str = str.replace("吗" , "");
            str = str.replace("?" , "!");
            str = str.replace("？" , "！" );
            System.out.println(str);
        }
    }
}
